#pragma once

#include "publicgui_global.h"

namespace PublicGui
{
	class DynamicTreeWidgetItemBase;

	class PUBLICGUI_EXPORT DynamicTreeWidgetItemFactory
	{
	public:
		static DynamicTreeWidgetItemFactory& GetInstance();

		DynamicTreeWidgetItemBase* createPropertyItem(const QString& propertyname) const;
	protected:
		DynamicTreeWidgetItemFactory();
		~DynamicTreeWidgetItemFactory();
		static DynamicTreeWidgetItemFactory* _controlFactory;
	};
}